package yannan.voiplock4ble.bean;

import org.greenrobot.greendao.annotation.Entity;

import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;

/**
 * <p>name:</p>
 * <p>describe: 用户个人信息类</p>
 *
 * @author Maintel
 * @time 2016/9/9 17:53
 */
@Entity
public class UserBean {
    @Id
    public Long id;
    @Unique
    public String userId; //用户id
    public String nickName; //昵称
    public String headImageUrl; //用户头像

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String userAccount;// 用户账号

    @Generated(hash = 1768730485)
    public UserBean(Long id, String userId, String nickName, String headImageUrl,
            String userAccount) {
        this.id = id;
        this.userId = userId;
        this.nickName = nickName;
        this.headImageUrl = headImageUrl;
        this.userAccount = userAccount;
    }

    @Generated(hash = 1203313951)
    public UserBean() {
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return this.nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getHeadImageUrl() {
        return this.headImageUrl;
    }

    public void setHeadImageUrl(String headImageUrl) {
        this.headImageUrl = headImageUrl;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", userId='" + userId + '\'' +
                ", nickName='" + nickName + '\'' +
                ", headImageUrl='" + headImageUrl + '\'' +
                ", userAccount='" + userAccount + '\'' +
                '}';
    }
}
